@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #387aff;
}

i,
em,
dfn {
    font-style: normal;
}

// 头部
header {
    overflow: hidden;

    .header {
        background-color: #fff;

        ul>li>a {
            color: #000 !important;
        }

        i {
            color: #999 !important;
        }

        .header-search {
            border: 1px solid #ccc;
        }

        .access-box {
            width: 80px !important;
            top: 90px !important;
            border: 1px solid #ccc;
        }

    }
}

// 商品展示

.product-display {
    height: 800px;
    margin-top: 90px;

    .preview {
        padding: 20px;
        float: left;

        .big-pic {
            width: 560px;
            height: 560px;
            position: relative;

            img {
                &:first-child {
                    display: block;
                }

                width: 560px;
                height: 560px;
                position: absolute;
                left: 0;
                top: 0;
                display: none;
            }

            .show {
                display: block;
            }
        }

        .small-pic {
            width: 560px;
            height: 100px;
            padding: 20px;

            img {
                width: 100px;
                height: 80px;
                object-fit: cover;
                float: left;
                margin-right: 15px;
            }
        }

        .addlike {
            width: 50px;
            text-align: center;
            color: #ccc;
            font-size: 12px;
            margin-top: 10px;

        }
    }

    .preview-text {
        position: relative;
        float: left;
        width: 640px;
        font-size: 12px;
        padding-top: 25px;

        h1 {
            margin-bottom: 4px;
            font-size: 28px;
            line-height: 1.2em;
            font-weight: 700;
            color: #262626;
        }

        .p1 {
            color: #e22841;
            font-size: 14px;
        }

        .p2 {
            line-height: 42px;
            font-size: 16px;
            color: #fff;
            text-indent: 1em;
            margin: 0;
            background: url(../img/product-detail-picback.jpg) no-repeat;
        }

        .price {
            position: relative;
            background: #f4f6fa;
            padding: 16px 0 12px;
            line-height: 36px;
            color: #e02b41;
            font-size: 36px;
            text-indent: 10px;

            dfn {
                font-size: 24px;
            }

            s {
                color: #999;
                font-size: 14px;
                margin-top: 15px;
                margin-right: 10px;
            }
        }

        dl {
            display: block;
            width: 640px;
            line-height: 50px;
            margin: 0;

            dt,
            dd {
                display: inline-block;
                color: #8c8c8c;
            }
        }

        .support {
            line-height: 18px;
            width: 85px;
            padding-left: 10px;

            dd {
                width: 400px;

                span {
                    padding: 0 15px;

                    i {
                        font-size: 18px;
                        color: #333;
                    }
                }
            }

        }

        .transp {
            padding-left: 10px;

            dd {
                margin-left: 10px;

                .opt-div {
                    display: inline;

                    #s1,
                    #s2 {
                        vertical-align: top;
                    }
                }
            }
        }

        .service {
            padding-left: 10px;
            height: 40px;
            border-bottom: 1px dashed #ccc;

            a {
                margin-left: 10px;
            }
        }

        .sometype {
            padding-left: 10px;
            margin-top: 30px;

            dt {
                vertical-align: top;
                margin-top: 15px;
            }

            dd {
                width: 550px;
                margin-left: 5px;

                a {
                    border-color: #000;
                    color: #000;
                    float: left;
                    width: 160px;
                    margin: 0 10px 10px 0;
                    background-color: #fff;
                    line-height: 40px;
                    border: 1px solid #BFBFBF;
                    border-radius: 2px;
                    color: #595959;
                    text-align: center;
                    font-size: 14px;
                    vertical-align: top;

                    img {
                        width: 32px;
                        height: 32px;
                    }
                }
            }
        }

        .colortype {
            margin-top: 0;

            dd {
                margin-left: 0;
            }
        }

        .num {
            padding-left: 10px;

            #reduce {
                margin-left: 5px;
            }

            a {
                cursor: default;
                display: inline-block;
                color: #e0e0e0;
                width: 30px;
                height: 38px;
                line-height: 38px;
                font-size: 14px;
                text-align: center;
                border: 1px solid #e7e7e7;
                background: #f7f7f7;
            }

            input {
                width: 60px;
                height: 38px;
                line-height: 40px;
                font-size: 12px;
                text-align: center;
                color: #595959;
                border: 1px solid #dedede;
                vertical-align: top;
            }
        }

        .buy {
            margin-left: 10px;
            margin-top: 30px;

            a {
                display: inline-block;
                padding: 15px 0;
                width: 200px;
                font-size: 20px;
                line-height: 24px;
                text-align: center;
                color: #fff;
                background-color: #27b3ff;
                border-radius: 3px;
                margin-right: 20px;
            }

            #add-to-car {
                color: #27b3ff;
                background-color: #fff;
                border: 1px solid #27b3ff;
            }
        }
    }

}